home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / fontutil.6 / fontutil / fontutils-0.6 / include / bb-outline.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-04  |  1.3 KB  |  37 lines

  1. /* bb-outline.h: find a list of bounding boxes enclosing outlines.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef BB_OUTLINE_H
  20. #define BB_OUTLINE_H
  21.  
  22. #include "bb-list.h"
  23. #include "bitmap.h"
  24. #include "types.h"
  25.  
  26.  
  27. /* Find the bounding boxes around the outlines in the bitmap B.  If ALL is
  28.    true, we find the bounding boxes around all the outlines, including
  29.    counterforms.  If ALL is false, we find only ``outside'' outlines. 
  30.    The character `a', for example, would be represented by one bounding
  31.    box.  We don't look in any of the columns from LEFT to RIGHT,
  32.    left-inclusive.  */
  33. extern bb_list_type
  34.   find_outline_bbs (bitmap_type b, boolean all, int left, int right);
  35.  
  36. #endif /* not BB_OUTLINE_H */
  37.